/**
 * $Id: AbstractCourseFactory.java,v 1.0 2022/6/5 16:46 shidesheng Exp $
 * <p>
 * Copyright 2021 Sinosoft Co.,Ltd. All rights reserved.
 */
package sds.mode.factory.abstracts;

/**
 * @author shidesheng
 * @version $Id: AbstractCourseFactory.java,v 1.1 2022/6/5 16:46 shidesheng Exp $
 * Created on 2022/6/5 16:46
 */
public abstract class AbstractCourseFactory {

	//公共模块，初始化
	public void init(){
		System.out.println("初始化基础数据");
	}

	// 开始学习
	protected  abstract ICourse startStudy();

	// 创建笔记
	protected abstract INote createNote();

	// 开始录音
	protected abstract IVideo StartVideo();

	public void finish(){
		System.out.println("停止录音，并保存");
	}

	public void destroy(){
		System.out.println("结束并销毁");
	}
}
